/**
 * 文件名：LogisticsVehicleListVo.java
 *
 * 创建人：Fyh - 1009173473@qq.com
 *
 * 创建时间：2019年9月26日 上午10:09:18
 *
 * 版权所有：南京植百汇智能科技服务有限公司
 */
package com.z100h.supplychain.evidence.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.jeeplus.common.utils.StringUtils;
import com.z100h.supplychain.core.ErpServiceType;

/**
 * [描述信息：说明类的基本功能]
 *
 * @author Fyh - 1009173473@qq.com
 * @version 1.0 Created on 2019年9月26日 上午10:09:18
 */
public class LogisticsVehicleListVo {

	private String customerId;

	private String customerName;

	private String serviceType;

	private String serviceTypeName;

	private String amount;

	private String minRepairDate;

	public String getCustomerId() {
		return customerId;
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this, ToStringStyle.JSON_STYLE);
	}

	public void setCustomerId(String customerId) {
		this.customerId = customerId;
	}

	public String getCustomerName() {
		return customerName;
	}

	public void setCustomerName(String customerName) {
		this.customerName = customerName;
	}

	public LogisticsVehicleListVo() {
		super();
	}

	public String getAmount() {
		return amount;
	}

	public void setAmount(String amount) {
		this.amount = amount;
	}

	public String getServiceType() {
		return serviceType;
	}

	public void setServiceType(String serviceType) {
		if (StringUtils.isNoneBlank(serviceType)) {
			this.serviceTypeName = ErpServiceType.get(serviceType).getName();
		}
		this.serviceType = serviceType;
	}

	public String getServiceTypeName() {
		return serviceTypeName;
	}

	public void setServiceTypeName(String serviceTypeName) {
		this.serviceTypeName = serviceTypeName;
	}

	public String getMinRepairDate() {
		return minRepairDate;
	}

	public void setMinRepairDate(String minRepairDate) {
		this.minRepairDate = minRepairDate;
	}

}
